import request from '@/utils/request'

//获取商品分类列表
export const getCateListReq = params => {
    return request({
      method: 'get',
      url: '/goods/catelist',
      params,
    })
  }
  //修改分类
export const editCateReq = data => {
    return request({
      method: 'post',
      url: '/goods/editcate',
      data,
    })
  }